#include <iostream>
using namespace std ;
/*
 * 大致流程:
 *  字符串解析
 *  语法树建立
 *  求值
 */
#include "./Calculator/Calculator.h"


int main() {
    string str = "max(1,max(-2,-3),sin(cos(100)))";
    Calculator c ;
    c.loadFuncLib("List");
    c.loadFuncLib("Triangle");
    cout << c.calc("min(max(1+2+3,4)*sin(2*(5+6)),-100)") << endl ;
}
